package com.example.phoneshop.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.servlet.ModelAndView;

/**
 * @author nozomi
 * @date 2018/7/5 09:49
 * @description
 */
@Controller
public class UserController
{
    @RequestMapping("/login")
    public ModelAndView login(){
        return new ModelAndView("index/login");
    }

    @RequestMapping("/signup")
    public ModelAndView signUp(){
        return new ModelAndView("views/signup");
    }
}
